package api

type CommissionListReq struct {
	TradeNo        string `json:"tradeNo"`
	CommissionType string `json:"commissionType"`
	StartTime      string `json:"startTime"`
	EndTime        string `json:"endTime"`
	PageNo         int    `json:"pageNo"`
	PageSize       int    `json:"pageSize"`
}

type CommissionListRes struct {
	TradeNo            string `json:"tradeNo"`
	TradeTime          string `json:"tradeTime"`
	CompanyName        string `json:"companyName"`
	CommissionType     string `json:"commissionType"`
	CommissionAmount   string `json:"commissionAmount"`
	CommissionCurrency string `json:"commissionCurrency"`
	TradeAmount        string `json:"tradeAmount"`
	TradeCurrency      string `json:"tradeCurrency"`
	FixedAmount        string `json:"fixedAmount"`
	FixedCurrency      string `json:"fixedCurrency"`
}

type AgentCommissionAccountRes struct {
	Amount   string `json:"amount"`
	Currency string `json:"currency"`
}

type WithdrawOperatorReq struct {
	Currency string `json:"currency"`
	Amount   string `json:"amount"`
}

type CommitWithdrawBankInfoReq struct {
	CommitWithdrawBankInfo []CommitWithdrawBankInfo `json:"commitWithdrawBankInfo"`
}

type CommitWithdrawBankInfo struct {
	Currency string `json:"currency"`
	Image    string `json:"image"`
}

type WithdrawBankListRes struct {
	Id       string `json:"id"`
	Currency string `json:"currency"`
	Image    string `json:"image"`
}

type EditWithdrawBankInfoReq struct {
	Id       string `json:"id"`
	Currency string `json:"currency"`
	Image    string `json:"image"`
}

type AgentWithdrawListReq struct {
	PageNo   int `json:"pageNo"`
	PageSize int `json:"pageSize"`
}

type AgentWithdrawListRes struct {
	Amount    string `json:"amount"`
	Currency  string `json:"currency"`
	CreatedAt string `json:"createdAt"`
	Status    string `json:"status"`
}
